package com.his.domain;

import java.sql.Timestamp;

public class PicSource {
	
	public String getName() {
		return name.replace(".jpg", "_small.jpg");
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPuid() {
		return puid;
	}
	public void setPuid(String puid) {
		this.puid = puid;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
//	   <!--   d:/StoragePath/151038400596510844/00/20160509/ 20160509151946_000D.jpg -->
		//.substring("d:/StoragePath".length())
		this.path = path;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getStreamtype() {
		return streamtype;
	}
	public void setStreamtype(String streamtype) {
		this.streamtype = streamtype;
	}
	public long getTimelong() {
		return ttime.getTime();
	}
	public Timestamp getTtime() {
		return ttime;
	}
	public void setTtime(Timestamp ttime) {
		this.ttime = ttime;
	}
	 
	public String getPdesc() {
		return pdesc;
	}
	public void setPdesc(String pdesc) {
		this.pdesc = pdesc.replace("\n", "<br>");
	}

	private String  name; 

	private String  puid; 
	private String  path;
	private String  time;
	private String  streamtype;
	private String  pdesc;
    private Timestamp ttime; 
	
}
